<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <base href="<%=basePath%>"/>
<div class="book_sort">
            <div class="book_new">
                <div class="book_left">编辑推荐</div>
            </div>
            <div class="book_class" style="height:380px; text-align: center">
                <dl id="book_focus">
                <!-- 第一层推荐 -->
                <s:iterator value="bookList" begin="0" end="3">
                    <dt><img src="productImages/<s:property value="productPic"/>" alt="focus" style="width:50%"/></dt>
                  </s:iterator>
                     <s:iterator value="bookList" begin="0" end="3">
                    <dd><a href="mainAction!bookInfo?book.id=<s:property value="id"/>" class="blue"><s:property value="productName"/></a></dd>
                     </s:iterator>
                       <s:iterator value="bookList" begin="0" end="3">
                    <dd>定价：￥<s:property value="fixedPrice"/><br />
                     	   当当价：￥<s:property value="dangPrice"/></dd>
           	  </s:iterator>
             <!-- 第二层推荐 -->
				<s:iterator value="bookList" begin="4" end="7">
                    <dt><img src="productImages/<s:property value="productPic"/>" alt="focus" style="width:50%"/></dt>
                  </s:iterator>
                     <s:iterator value="bookList" begin="4" end="7">
                    <dd><a href="mainAction!bookInfo?book.id=<s:property value="id"/>" class="blue"><s:property value="productName"/></a></dd>
                     </s:iterator>
                       <s:iterator value="bookList" begin="4" end="7">
                    <dd>定价：￥<s:property value="fixedPrice"/><br />
                     	   当当价：￥<s:property value="dangPrice"/></dd>
             </s:iterator>
                </dl>
            </div>
        </div>